<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8"/>
    <title>Vue示例</title>

</head>

<body>
<div id="app" style="display: none" v-show="show">
    {{number/10}}
    {{isOK?'确定':'取消'}}
    {{text.split(',').reverse().join(',')}}
</div>
<script charset="utf-8" src="../js/vue.min.js" type="text/javascript"></script>
<script type="text/javascript">
    new Vue({
        el: '#app',
        data: {
            show: true,
            number: 100,
            isOK: true,
            text: '123,456'
        }
    })
</script>
</body>

</html>
